Skip to content

Conversation

karenetheridge
Copy link
Member

@karenetheridge karenetheridge commented Aug 31, 2025

This affects the places where examples are used: parameter, header, and media-type objects

for #4598.

  • schema changes are included in this pull request

@karenetheridge karenetheridge requested review from a team as code owners August 31, 2025 23:13
@karenetheridge karenetheridge added the Schema changes related to the schema(s) label Aug 31, 2025
@karenetheridge karenetheridge added this to the v3.2.0 milestone Aug 31, 2025
handrews
handrews previously approved these changes Aug 31, 2025
Copy link
Member

@handrews handrews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird- this is handled correctly in the 3.0 schema, but was apparently dropped in 3.1? Which was definitely an error.

@karenetheridge karenetheridge force-pushed the ether/v3.2-example-examples-mutually-exclusive branch from 997d12a to 5a6eb77 Compare August 31, 2025 23:21
@karenetheridge
Copy link
Member Author

This should probably be backported to 3.1.2 then?

@handrews

This comment was marked as off-topic.

karenetheridge added a commit to karenetheridge/OpenAPI-Specification that referenced this pull request Aug 31, 2025
This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598 and OAI#4776, ported from OAI#4912.
@karenetheridge karenetheridge changed the title "example" and "examples" cannot appear together v3.2: "example" and "examples" cannot appear together Sep 1, 2025
Copy link
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a "fail" test case that would pass without the additional lines?

This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598.
@karenetheridge karenetheridge force-pushed the ether/v3.2-example-examples-mutually-exclusive branch from 5a6eb77 to dc5dad6 Compare September 4, 2025 23:38
karenetheridge added a commit to karenetheridge/OpenAPI-Specification that referenced this pull request Sep 4, 2025
This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598, ported from OAI#4912.
@karenetheridge karenetheridge requested review from ralfhandl and a team and removed request for ralfhandl September 4, 2025 23:43
@ralfhandl ralfhandl requested review from handrews and a team September 5, 2025 07:11
Copy link
Contributor

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

@ralfhandl ralfhandl merged commit 2933fe9 into OAI:v3.2-dev Sep 5, 2025
2 checks passed
@karenetheridge karenetheridge deleted the ether/v3.2-example-examples-mutually-exclusive branch September 5, 2025 23:30
karenetheridge added a commit to karenetheridge/OpenAPI-Specification that referenced this pull request Sep 5, 2025
This affects the places where examples are used: parameter, header, and media-type objects

for OAI#4598, ported from OAI#4912.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Schema changes related to the schema(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants